package day8;

import java.io.IOException;

public class Pet {
    public Pet aa() throws IOException {return null;}
    public Pet(int x) {

        System.out.println("pet构造器");
    }
    private String name;
    private int health;
    private int love;

    int mm;

    public String getName() {
        return "super getname";
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }

    public int getLove() {
        return love;
    }

    public void setLove(int love) {
        this.love = love;
    }

}
